﻿<%@ Page Title="双色球走势图" Language="C#" MasterPageFile="~/APP_Master/MasterPage.master" AutoEventWireup="true" CodeFile="shuangselhfb.aspx.cs" Inherits="shuangselhfb" %>

<%@ Register src="APP_Controls/Dianping.ascx" tagname="Dianping" tagprefix="uc1" %>
<%@ Register src="APP_Controls/ZouShi.ascx" tagname="ZouShi" tagprefix="uc2" %>
<%@ Register src="APP_Controls/Friend.ascx" tagname="Friend" tagprefix="uc3" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<!--GreenNav-->
<div class="nav_green">
	<div class="cookie">
    	您现在所在位置：<a href="Default.aspx">首页</a> > 走势图 > 福彩双色球连号分布走势图
    </div>
    <ul class="g_nav">
    	<li><a href="" class="g_cur">走势图表</a></li>
        <%--<li><a href="">杀号定胆</a></li>--%>
    </ul>
</div>
<!--GreenNav-->
<h2 class="zoushi_t">双色球连号分布走势图</h2>
<!--Content-->
<div class="zhoushi">
	<!--Title-->
    <div class="zhoushi_title">
    	<div class="zs_t_box">
            选择：
            <asp:DropDownList ID="DropDownList1" runat="server" >
            <asp:ListItem Value="30">最近30期</asp:ListItem>
            <asp:ListItem Value="50">最近50期</asp:ListItem>
            </asp:DropDownList>
      </div> 
      <div class="zs_t_box">
        <%--列进行分区--%>
        <asp:Button ID="Button1" runat="server" Text="开始查看"  class="red_link" 
              onclick="Button1_Click"/> 
        </div>
    </div>
    <!--Title-->
    <!--Zoushi-->
    <div class="zs_table">
    	<table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_tt">
        	<tr>
            	<td rowspan="2" class="w55">期号</td>
                <td colspan="33">号码分布</td> 
            </tr>
        	<tr> 
        	  <td class="w22">01</td>
        	  <td class="w22">02</td>
        	  <td class="w22">03</td>
        	  <td class="w22">04</td>
        	  <td class="w22">05</td>
        	  <td class="w22">06</td>
        	  <td class="w22">07</td>
        	  <td class="w22">08</td>
        	  <td class="w22">09</td>
        	  <td class="w22">10</td>
        	  <td class="w22">11</td>
        	  <td class="w22">12</td>
        	  <td class="w22">13</td>
        	  <td class="w22">14</td>
        	  <td class="w22">15</td>
        	  <td class="w22">16</td>
        	  <td class="w22">17</td>
        	  <td class="w22">18</td>
        	  <td class="w22">19</td>
        	  <td class="w22">20</td>
        	  <td class="w22">21</td>
        	  <td class="w22">22</td>
        	  <td class="w22">23</td>
        	  <td class="w22">24</td>
        	  <td class="w22">25</td>
        	  <td class="w22">26</td>
        	  <td class="w22">27</td>
        	  <td class="w22">28</td>
        	  <td class="w22">29</td>
        	  <td class="w22">30</td>
        	  <td class="w22">31</td>
        	  <td class="w22">32</td>
        	  <td class="w22">33</td>
               
   	      </tr>
        </table>
        <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
        <%if (arlist != null && arlist.Count > 0)
          { 
              for (int i = arlist.Count - 1; i >= 0; i--)
              {
                  %>
        	<tr>
            	<td class="b_bg w55"><%=arlist[i].LotteryQS%></td>  
                <%for (int j = 0; j < 33; j++)
                  { %>
                <td class="w22">
                <%for(int m=0;m<arlist[i].LotteryNo.Split('+')[0].Split(',').Length;m++) {
                      if (Convert.ToInt16(arlist[i].LotteryNo.Split('+')[0].Split(',')[m])==(j+1))
                      {%>
                      <%if (m!=0&&arlist[i].LotteryNo.Split('+')[0].Split(',')[m] == arlist[i].LotteryNo.Split('+')[0].Split(',')[m - 1])
                        {%>
                <div style="height: 22px;line-height: 20px;text-align: center; color:red;font-weight:bold;"><%}
                        else
                        { %>
                <div style="height: 22px;line-height: 20px;text-align: center; color:blue;font-weight:bold;">
                <%} %>
                
                <%=arlist[i].LotteryNo.Split('+')[0].Split(',')[m]%>
                </div>
                 <%} }%>
                </td>
                <%} %>  
            </tr>  
            <% }
          }%>
          </table>
          <table cellpadding="0" cellspacing="0" border="0" width="100%" class="zs_body">
          	<tr>
            	<td rowspan="2" class="w22 b_bg" style="width:55px">统计</td> 
                <%for (int i = 0; i < 33;i++ ){ %>
                <td <%if(i==0) {%>class="w22 h92"  <%}else{ %> class="w22" <%} %>>
                <div class="zs_z_bg" style="height:<%=TiaoxingDT[i]*100/jinqiCount%>px;"></div></td>
                <%} %>    
            </tr>
          	<tr>
          	  <td class="w22 red">01</td>
          	  <td class="w22 red">02</td>
          	  <td class="w22 red">03</td>
          	  <td class="w22 red">04</td>
          	  <td class="w22 red">05</td>
          	  <td class="w22 red">06</td>
          	  <td class="w22 red">07</td>
          	  <td class="w22 red">08</td>
          	  <td class="w22 red">09</td>
          	  <td class="w22 red">10</td>
          	  <td class="w22 red">11</td>
          	  <td class="w22 red">12</td>
          	  <td class="w22 red">13</td>
          	  <td class="w22 red">14</td>
          	  <td class="w22 red">15</td>
          	  <td class="w22 red">16</td>
          	  <td class="w22 red">17</td>
          	  <td class="w22 red">18</td>
          	  <td class="w22 red">19</td>
          	  <td class="w22 red">20</td>
          	  <td class="w22 red">21</td>
          	  <td class="w22 red">22</td>
          	  <td class="w22 red">23</td>
          	  <td class="w22 red">24</td>
          	  <td class="w22 red">25</td>
          	  <td class="w22 red">26</td>
          	  <td class="w22 red">27</td>
          	  <td class="w22 red">28</td>
          	  <td class="w22 red">29</td>
          	  <td class="w22 red">30</td>
          	  <td class="w22 red">31</td>
          	  <td class="w22 red">32</td>
          	  <td class="w22 red">33</td>
               
       	    </tr>
          </table>
    </div>
    <!--Zoushi-->
</div>
    <div class="zs_infor"><%--说明：点击最后空行上的空格，可以帮助记录选号。--%></div>
<!--Content-->
    <uc1:Dianping ID="Dianping1" runat="server" />
    <uc2:ZouShi ID="ZouShi1" runat="server" />
<uc3:Friend ID="Friend1" runat="server" />
</asp:Content>

